package com.bbjob.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import com.bbjob.client.MsgBody;
import com.bbjob.client.result.ResultForDeliverySysOrganization;
import com.bbjob.dto.Result;
import com.bbjob.model.CenterMacSignin;
import com.bbjob.model.DeliveryVersionUpgrade;
import com.bbjob.model.SysDictionary;
import com.bbjob.model.SysOrganization;
import com.bbjob.model.User;
import com.bbjob.query.MachineInfo;
import com.bbjob.toolutil.DataEntity;

public interface ISystemService {

	Result registe(CenterMacSignin centerMacSignin, HttpServletRequest request);

	String getMac(HttpServletRequest request);

	Result TestConn();

	Result getOrgansByPid(SysOrganization organ);

	List<MachineInfo> setMachineInfo();

	List<MachineInfo> getMachineStatus(Integer examId);

	Result sendMsg(MsgBody msg);

	Result selectAllDics(SysDictionary dic);

	Result isRegiste(CenterMacSignin centerMacSignin, HttpServletRequest request);

	DataEntity getOperationAuth(Integer id);

	DataEntity getDifficulty();

	Result changePassword(Integer userid, String oldpassword, String newpassword);

	ResultForDeliverySysOrganization getOrganInfo();

	void checkUpgradeForExam();

	DeliveryVersionUpgrade selectUpdateInfo();

	Result createUserByDirector(User user, Integer id);

	Result editTeacher(User user);

	DataEntity getTeacherList(User user, int page, int rows, Integer id);

	Result deleteTeacher(Integer id, Integer id2);

}
